package entity;

import java.util.Date;
import java.util.List;

//对应数据库的user_inf表
public class User_Inf {
	private Integer user_inf_id;//自增主键ID
	private Integer userId;//user_login表的自增ID
	private String username;//用户真实姓名
	private String phone;//手机号
	private String user_email;//邮箱
	private String gender;//性别
	private Integer user_point;//用户积分
	private Integer user_level;//会员级别：1 普通会员，2 青铜，3白银，4黄金，5钻石
	private Date modified_time;//最后修改时间
	private Integer role_Id;//user_login表的自增ID
	private DetailAddress da;//User_Address中的所有信息
	private List<DetailAddress> list;
	public Integer getUser_inf_id() {
		return user_inf_id;
	}
	public void setUser_inf_id(Integer user_inf_id) {
		this.user_inf_id = user_inf_id;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getUser_email() {
		return user_email;
	}
	public void setUser_email(String user_email) {
		this.user_email = user_email;
	}

	public Integer getUser_point() {
		return user_point;
	}
	public void setUser_point(Integer user_point) {
		this.user_point = user_point;
	}
	public Integer getUser_level() {
		return user_level;
	}
	public void setUser_level(Integer user_level) {
		this.user_level = user_level;
	}
	public Date getModified_time() {
		return modified_time;
	}
	public void setModified_time(Date modified_time) {
		this.modified_time = modified_time;
	}
	public User_Inf() {
		super();
		// TODO Auto-generated constructor stub
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public Integer getRole_Id() {
		return role_Id;
	}
	public void setRole_Id(Integer roleId) {
		this.role_Id = roleId;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	
	
	public List<DetailAddress> getList() {
		return list;
	}
	public void setList(List<DetailAddress> list) {
		this.list = list;
	}
	public DetailAddress getDa() {
		return da;
	}
	public void setDa(DetailAddress da) {
		this.da = da;
	}
	@Override
	public String toString() {
		return "User_Inf [user_inf_id=" + user_inf_id + ", userId=" + userId + ", username=" + username + ", phone="
				+ phone + ", user_email=" + user_email + ", gender=" + gender + ", user_point=" + user_point
				+ ", user_level=" + user_level + ", modified_time=" + modified_time + ", roleId=" + role_Id + ", da="
				+ da + "]";
	}
	public User_Inf(String username, String phone, String user_email, String gender, Date modified_time) {
		super();
		this.username = username;
		this.phone = phone;
		this.user_email = user_email;
		this.gender = gender;
		this.modified_time = modified_time;
	}
	

	
	
	
}